runtime.gcControllerState.lastStackScan (field)
8 uses
runtime (current package)
metrics.go#L686: a.stackScan = uint64(gcController.lastStackScan.Load())
mgc.go#L1168: gcController.lastStackScan.Load()>>20, " MB stacks, ",
mgcpacer.go#L213: lastStackScan atomic.Uint64
mgcpacer.go#L507: scanWorkExpected := int64(c.lastHeapScan + c.lastStackScan.Load() + c.globalsScan.Load())
mgcpacer.go#L678: print(c.heapScanWork.Load(), "+", c.stackScanWork.Load(), "+", c.globalsScanWork.Load(), " B work (", c.lastHeapScan+c.lastStackScan.Load()+c.globalsScan.Load(), " B exp.) ")
mgcpacer.go#L827: c.lastStackScan.Store(uint64(c.stackScanWork.Load()))
mgcpacer.go#L1204: gcPercentHeapGoal = c.heapMarked + (c.heapMarked+c.lastStackScan.Load()+c.globalsScan.Load())*uint64(gcPercent)/100
mgcpacer.go#L1236: c.runway.Store(uint64((c.consMark * (1 - gcGoalUtilization) / (gcGoalUtilization)) * float64(c.lastHeapScan+c.lastStackScan.Load()+c.globalsScan.Load())))
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |